from fastapi import FastAPI
import uvicorn

from info.modules.user.user import api_user

# 创建实例化FastAPI对象
app = FastAPI()
# 添加api路由，配置请求路径前缀
app.include_router(api_user, prefix="/user")




if __name__ == '__main__':
    uvicorn.run("main:app", host="127.0.0.1", port=8089, reload=True,
                workers=1)